/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.admin.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 工单级别评分历史实体类
 *
 * @author ysq
 * @since 2024-01-19
 */
@Data
@TableName("blade_plan_history_score")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "PlanHistoryScore对象", description = "工单级别评分历史")
public class PlanHistoryScore extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 工单id
	*/
		@ApiModelProperty(value = "工单id")
		private Long planId;
	/**
	* 评分分数
	*/
		@ApiModelProperty(value = "评分分数")
		private BigDecimal score;
	/**
	* 评分用户id
	*/
		@ApiModelProperty(value = "评分用户id")
		private Long scoreUserId;
	/**
	* 评分用户名称
	*/
		@ApiModelProperty(value = "评分用户名称")
		private String scoreUserName;
	/**
	* 评分备注
	*/
		@ApiModelProperty(value = "评分备注")
		private String scoreRemark;
	/**
	* 评分类型1:有效订单，2：无效工单3：无法判断
	*/
		@ApiModelProperty(value = "评分类型1:有效订单，2：无效工单3：无法判断")
		private Integer scoreType;
	/**
	* 无效工单有值 无效原因
	*/
		@ApiModelProperty(value = "无效工单有值 无效原因")
		private String scoreFutilityDesc;
	/**
	* 无效工单有值 其它类型有值 无效原因
	*/
		@ApiModelProperty(value = "无效工单有值 其它类型有值 无效原因")
		private String scoreFutilityOtherDesc;


}
